<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>Comoros Airways Admin Interface</title>
    <link rel="shortcut icon" href="/favicon.ico" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
    <script>window.jQuery || document.write('<script src="js/jquery-1.8.2.min.js">\x3C/script>')</script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/i18n/jquery.ui.datepicker-fr.js"></script>
    <?php include_javascripts() ?>
    <?php include_stylesheets() ?>
  </head>
  <body>
    <div id="container">

      <?php if($sf_user->isAuthenticated()): ?>

      <div id="header">
        <h1>
          <a href="<?php echo url_for('@homepage') ?>">
            Admin
          </a>
        </h1>
      </div>
 
      <div id="menu">
        <ul>
          <li>
            <?php echo link_to('Reservations', '@aoi_itinerary_reservation') ?>
          </li>
          <li>
            <?php echo link_to('Flight Schedules', '@aoi_flight_schedule') ?>
          </li>
          <li>
            <?php echo link_to('Planes', '@aoi_plane') ?>
          </li>
          <li>
            <?php echo link_to('Airports', '@aoi_airport') ?>
          </li>
          <!--<li>
            <?php echo link_to('Airlines', '@aoi_airline') ?>
          </li>-->
          <li>
            <?php echo link_to('Legs', '@aoi_leg') ?>
          </li>
          <li><a href="<?php echo url_for('sf_guard_signout') ?>">Logout</a></li>
        </ul>
      </div>


       <?php endif; ?>
 
      <div id="content">
        <?php echo $sf_content ?>
      </div>
 
      <div id="footer">
        
      </div>
    </div>
  </body>
</html>